<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>循环遍历</title>
    <link rel="stylesheet" href="../../public/base.css">
    <script src="../../public/angular.min.js"></script>
</head>
<body>
    <div ng-app="app" ng-controller="myContr">
        <ul>
            <li ng-repeat="v in arrData">
                <!--<span>{{v}}</span>-->
                <p ng-bind="v"></p>
            </li>
        </ul>
    </div>
</body>
<script>
    var app=angular.module("app",[]);
    app.controller("myContr",function ($scope) {
        $scope.arrData=["web","song","男"];
    });
</script>
</html>